package com.bems.dao;

import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.bems.pojo.Supply;

public class SupplyDao 
{
    public boolean save(Supply supply) 
        {
    		if(StringUtils.isNotEmpty(supply.getName())){
    			   if(supply.save()>0)
    				      return true;
    		}
			return false;
		}
    
   
       
}
